home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 22
/
Aminet 22 (1997)(GTI - Schatztruhe)[!][Dec 1997].iso
/
Aminet
/
util
/
cli
/
tiny_reboot.lha
/
tiny_reboot.doc
< prev
next >
Wrap
Text File
|
1997-10-12
|
5KB
|
128 lines
tiny_reboot Version 1.1
© 1997
By Kenton A. Groombridge
Introduction:
One day I found a need for a reboot program. I downloaded all the ones
found on Aminet, but I didn't like the ones that asked me if I was sure I
wanted to reboot my Amiga after I typed "reboot" and the others were quite
bulky in size for what they did. I decided to write my own. After about
10 minutes using SAS/C 6.58 I had a finished program, but it was still
about a couple thousand bytes, and that was after using NOSTARTUP and the
other switches to cut the garbage out of the program. (must have been the
atol() function). It had been a while since I used Devpac, so I fired it
up and spent a day relearning much of what I forgot about assembler. The
finished product is a very small reboot program (300 bytes). This small
size is also not without error checking and the like. It is also
completely OS friendly, but of course how can you be sure when your system
is rebooting?
Disclaimer:
The use of this program is on your own risk. There is no liability or
responsibility for any damage caused by the program.
Copyright:
tiny_reboot is free to be spread on public-domain and shareware disks, as
long as they are sold for a reasonable charge.
This program is:
FREE, FREE, FREE, FREE, FREE, FREE, FREE, FREE, FREE, FREE, FREE, FREE.
What else can I say. If you haven't noticed yet, everything I have written
is FREE.
I think some people out there are greedy. They write these piece of *&^%$
programs and expect to get paid for them. Good luck, you won't see my money.
There are also people out there who bust there butts to make a living
writing quality software for the Amiga. Those piece of *&^%$ pirates that
steal their hard work are hurting both you and me because if they don't make
money to make a living then they will quit writing quality software for the
Amiga and we will all miss out on great programs.
How to use the program:
Type: "reboot /N" where /N is an optional number between 0 and 85899345
representing the seconds to wait before rebooting. 85899345 seconds? Hmm,
anybody got about three years available to ensure that this program is
accurate to the second?
A word of warning: This program does not do a safe reboot like UNIX
systems. Using this program is no different that using Ctrl + Right-Amiga
+ Left-Amiga, so it would behoove you to ensure that all disk activity has
stopped otherwise you may loose data, or even worse, invalidate your disks.
I am not trying to scare so you don't use the program. It is really safe
if you know what you are doing. You all know not to pop the floppy out of
the drive until the light goes out right? The program is just the button
to the floppy drive per se'.
Required:
Workbench 2.04 or higher. Although not needed, I highly recommend getting
Workbench 3.1. It is big improvement on 2.04. If you are still using 1.3 or
below, you are in the dark ages.
Reporting errors:
This program was thrown together rather quickly, but I tested it several
times in several different ways and never came up with an error. But if you
do find an error, please let me know. This will ensure that everybody
enjoys a quality bug free program.
Contacting the author:
e-mail kgroombr@interquest.de
Kenton.Groombridge@wpc.af.mil
web page http://www.interquest.de/~kgroombr/
snail-mail Kenton Groombridge
PSC 3 Box 1766
APO AE 09021
USA
-OR-
Kenton Groombridge
PSC 3 Box 1766
D:67661 Kapaun Flugplatz
Germany
I move a lot. If you really need to get in touch with me and can't get
mail to either of the above addresses, send mail to my permanent address.
It will take a while to get to me, but it will get to me.
Kenton Groombridge
1405 North Center Avenue
Hardin, MT 59034
USA
Acknowlegments:
This was written using HiSoft DevPac Assembler 3.04. I have sent several
messages to HiSoft as how to upgrade to the most recent version of the
program, but have never received a response. If you know who to contact
about upgrading this program, please let me know.
Thanks to Gateway 2000 for saving the Amiga's future. For the folks at
Gateway, if you are looking for a bilingual, quality individual with years
of experience in sales, programming, quality control, and the dozen other
jobs I have done in the military and civilian sector, look me up. I can
sell the Amiga.
To Do:
Heck, I have no idea. Do you?
History:
1.0 (5 Oct 1997)
First release, no known bugs.
1.1 (12 Oct 1997)
Cleaned up the code. Added a few optimizations here and there. No known
bugs.